/**
 * Copyright (c) 快宝网络 kuaidihelp.com Co., Ltd. All Rights Reserved 禁止外泄以及用于其它的商业用途
 */

/**
 * 营销广告-小程序抽奖
 */
import React from 'react';
import { PageContainer } from '@ant-design/pro-layout';
import { Tabs } from 'antd';
import KbLotteryPublish from '@/components/_pages/ad/lottery/publish';
import KbPublishLog from '@/components/_pages/ad/lottery/Log';

const Index: React.FC = () => {
  return (
    <PageContainer>
      <Tabs
        items={[
          {
            label: '发布抽奖',
            key: 'publish',
            children: <KbLotteryPublish />,
          },
          {
            label: '操作日志',
            key: 'log',
            children: <KbPublishLog />,
          },
        ]}
      />
    </PageContainer>
  );
};

export default Index;
